using System;
using System.Collections.Generic;

namespace Ghasam.Business.Domain.Entity
{
    /// <summary>
    /// AdjustmentType object for NHibernate mapped table AdjustmentType.
    /// </summary>
    [Serializable]
    public class AdjustmentType
    {


        private System.String _AdjusmentTypeDesc;
        private IList<AdjustmentPayment> _AdjustmentPayments = new List<AdjustmentPayment>();

        public AdjustmentType()
        {
        }

        private int id;
        public virtual int Id
        {
            get { return id; }
            set { id = value; }
        }

         public virtual System.String AdjusmentTypeDesc {
             get { return _AdjusmentTypeDesc; }
             set { _AdjusmentTypeDesc = value;}
         }

         public virtual IList<AdjustmentPayment> AdjustmentPayments{
             get { return _AdjustmentPayments; }
             set { _AdjustmentPayments = value; }
         }


        public override int GetHashCode()
        {
            return Id.GetHashCode();
        }

     }
}
